package com.foeye.jaxrs2.server.service;

import java.util.HashSet;
import java.util.Set;

import javax.ws.rs.core.Application;


public class RestApplication extends Application {
	HashSet<Object> singletons = new HashSet<Object>();

	public RestApplication() {
//		singletons.add(new OrderDetailResource());
//		singletons.add(new OrderStatusResource());
//		singletons.add(new OrderResource());
//		singletons.add(new OrderInfoResource());
//		singletons.add(new FyerpResource());
		singletons.add(new UserService());
	}

	@Override
	public Set<Class<?>> getClasses() {
		HashSet<Class<?>> set = new HashSet<Class<?>>();
		return set;
	}

	@Override
	public Set<Object> getSingletons() {
		return singletons;
	}
}
